/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.wii.elpro.dao;

import com.wii.elpro.entity.Jenis;
import com.wii.elpro.entity.Price;
import com.wii.elpro.entity.Unit;
import java.util.List;

/**
 *
 * @author hendro
 */
public interface PriceDAOInterface extends DAOGeneric{
    public Price getPrice(long id)throws Exception;
    public List<Price> getPrices()throws Exception;
    public List<Price> getPricesByUnit(Unit unit) throws Exception;
    public List<Price> getPricesByJenis(Jenis jenis) throws Exception;
    public List<Price> getPricesByUnitAndJenis(Unit unit, Jenis jenis) throws Exception;
}
